/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package controller.commands;

import model.graphic.objects.Graphical;

/**
 *
 * @author Jelle
 */
public class SetSelectedCommand extends BasicCommand {

    private Graphical g;
    private boolean value;

    public SetSelectedCommand(Graphical g, boolean value) {
        this.g = g;
        this.value = value;
    }

    @Override
    public void execute() {
        gmodel.setGraphicalSelected(g, value);
    }
}
